package com.itheima.mydynamicproxydemo;

public class Test {
    public static void main(String[] args) {
        //创建代理对象
        Star proxy = ProxyUtil.getProxy(new BigStar());
        //代理对象调用方法
        String s = proxy.sing("只因你太美");
        System.out.println(s);
        proxy.dance();

    }
}
